package com.ashapo.pattern.pattern004builder;

//第4步
//创建扩展汉堡(Burger)和冷饮(ColdDrink )类的具体类

public class Coke extends ColdDrink {

    @Override
    public float price() {
        return 30.0f;
    }

    @Override
    public String name() {
        return "Coke";
    }
}
